package com.toggery.POS.tool;

public class multithreadReq {
    private static final int THREADNUM = 2;//线程数量
    public static void main(String[] args) {
        //线程数量
        int threadmax = THREADNUM;
        for(int i = 1; i <=threadmax; i++){

            ThreadMode thread = new ThreadMode();
            thread.getThread(i).start();
        }
    }
}
